﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PublicType
{
    /// <summary>
    /// 分页数据
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PagingData<T>
    {
        /// <summary>
        /// 第几页
        /// </summary>
        public Int32 PageIndex { get; set; }
        /// <summary>
        /// 每页多少条数据
        /// </summary>
        public Int32 PageSize { get; set; }
        /// <summary>
        /// 总行数
        /// </summary>
        public Int32 Total { get; set; }
        /// <summary>
        /// 取的PageIndex页的数据
        /// </summary>
        public List<T> Data { get; set; }

    }
}
